<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
		<!-- 新 Bootstrap 核心 CSS 文件 -->
		<link rel="stylesheet" href="css/bootstrap.css">
		<link rel="stylesheet" href="css/login.css" />
		<!-- 可选的Bootstrap主题文件（一般不用引入） -->
		<link rel="stylesheet" href="css/bootstrap-theme.css">
		<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
		<script src="js/jquery-1.11.3.js"></script>
		<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
		<script src="js/bootstrap.js"></script>
</head>
<body>
<div class="row">
		  <div class="col-md-4 col-md-offset-4 text-center">
		  	<div class="top">小米商城</div>
		  	<span id="msg">
		  		<%if(request.getAttribute("msg")!=null){%>
		  			<%=request.getAttribute("msg") %>
		  		<% } %>
		  	</span>
		  	<form action="RegisterServlet" method="post" id="form1" name="form1">
		  		<div class="divinput">
		  			<input class="inputinfo" type="text" name="username"  placeholder="用户名"/>
		  		</div>
		  		<div class="divinput">
		  			<input class="inputinfo" type="text" name="phonenum"  placeholder="手机号"/>
		  		</div>
		  		<div class="divinput">
		  			<input class="inputinfo" type="password" name="password" placeholder="密码"/>
		  		</div>
		  		<div class="divinput">
		  			<input class="inputinfo" type="password" name="password2" placeholder="确认密码"/>
		  		</div><br /><br />
		  		<input type="submit" value="注册" id="btn"/><br />
		  		<hr/>
		  	</form>
		  </div>  
		</div>
</body>
</html>